package com.university.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Date: 2021/5/15 17:46
 * @Description:
 */
@Data
public class MovieOrder {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String username;//用户名

    private Integer movieTimeSlotId;//场次id

    private String seat;//已选座位

    private BigDecimal paymentAmount;//支付金额

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderDate = new Date();//下单日期

    private BigDecimal score;//评分

    private String review;//评价

}
